__kernel
void basic_opencl(__global float *A, __global float *v, __const int rows, __const int cols, __global float *answer) {
  int row = get_global_id(0);
  float accumulator = 0;
  for(int col = 0; col < cols; col++) {
      float m = A[row * cols + col];
      float n = v[col];
      accumulator += m * n;
  }
  answer[row] = accumulator;
}